
import Layout from "./components/Layout"
import routes from './router'
import { Route, Routes } from 'react-router'


function App() {

  return (
    <div className={"h-full"}>
      <Layout>
        <Routes>
          {routes.map(item => <Route key={item.path} path={item.path} element={item.element}/>)}
        </Routes>
      </Layout>
    </div>
  )
}

export default App
